package cn.zhku.edu.feign.pojo.entry;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 订单表
 * @author clk
 */
@Data
@TableName("订单表")
public class Order implements Serializable {
    @TableId(type = IdType.INPUT)
    private Integer oid;

    private String uid;

    private String status;

    private Integer sum;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date time;

    private String phone;

    private String receiver;

    private String address;

    private static final long serialVersionUID = 1L;
}